#include <string>
#include <list>
#include <stack>
#include <iostream>
#include <vector>

#include "stack.h"

using namespace std;

void test_stack1()
{
    //qds::stack<int, list<int>> st;    
    //qds::stack<int, vector<int>> st;    
    qds::stack<int> st;    
    st.push(1);    
    st.push(2);    
    st.push(3);    
    st.push(4);    
    st.push(5);    
    
    cout << "this stack is size:" << st.size() << endl;    
    
    st.top() += 95;    
    
    while(!st.empty())    
    {    
        cout << st.top() << " ";    
        st.pop();    
    }    
    cout << endl;                                                           
    return;    
}    

int main()    
{
    test_stack1();
    return 0;
}

